home *** CD-ROM | disk | FTP | other *** search
- Launch a Java development environment from your desktop
- or select it from the task bar if it is already running.
- Then follow the instructions below.
-
- Step 1: Write a Java application that prints the string
- "Hello World" to the standard output. Be sure to include
- comments detailing the date, your name, and the purpose of
- the application. Call this application source file
- HelloApplication.java.
-
- Step 2: Compile this file using javac, and run the
- resulting HelloApplication.class file using the java
- command.
-
- Step 3: Write a Java applet that will print the string
- "Hello World" to an applet window. Just as with the
- application, be sure to include clear comments. Call this
- applet source file HelloApplet.java.
-
- Step 4: Compile this file and write HTML code that will
- embed the applet in a web browser or appletviewer.
-
- Step 5: Load the HTML file into a web browser or
- appletviewer to see the applet run.